<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_id" data-rule="required" data-source="order/index" class="form-control selectpage" name="row[order_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_sn" data-rule="required" class="form-control" name="row[order_sn]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_sn" data-rule="required" class="form-control" name="row[pay_sn]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_scope')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_scope" class="form-control" name="row[pay_scope]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Buyer_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="buyerStatusList" item="vo"}
            <label for="row[buyer_status]-{$key}"><input id="row[buyer_status]-{$key}" name="row[buyer_status]" type="radio" value="{$key}" {in name="key" value="unchecked"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Buyer_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-buyer_name" class="form-control" name="row[buyer_name]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Buyer_mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-buyer_mobile" class="form-control" name="row[buyer_mobile]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_fee" data-rule="required" class="form-control" step="0.01" name="row[order_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Record_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-record_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[record_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Request_param')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-request_param" class="form-control " rows="5" name="row[request_param]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Response_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-response_code" class="form-control" name="row[response_code]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Response_msg')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-response_msg" class="form-control" name="row[response_msg]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Record_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="recordStatusList" item="vo"}
            <label for="row[record_status]-{$key}"><input id="row[record_status]-{$key}" name="row[record_status]" type="radio" value="{$key}" {in name="key" value="undeclared"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Out_request_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-out_request_no" class="form-control" name="row[out_request_no]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Verify_depart')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-verify_depart" class="form-control" name="row[verify_depart]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Depart_trade_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-depart_trade_no" class="form-control" name="row[depart_trade_no]" type="text">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
